package com.ygq.train.business.service;

import com.ygq.train.common.resp.PageResp;
import com.ygq.train.business.req.SkTokenQueryReq;
import com.ygq.train.business.req.SkTokenSaveReq;
import com.ygq.train.business.resp.SkTokenQueryResp;

import java.util.Date;
import java.util.List;


public interface SkTokenService {

     void save(SkTokenSaveReq req);

     PageResp<SkTokenQueryResp> queryList(SkTokenQueryReq req);

     boolean validSkToken(Date date, String trainCode, Long memberId);

     void delete(Long id);

     void genDaily(Date date, String trainCode);

}